home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1996 / MacHack 1996.toast / Presentations / Presentations ’93 / Macintosh as Internet Server ƒ / inetd / InetD.r < prev    next >
Text File  |  1993-02-14  |  1KB  |  46 lines

  1. //---------------------------------------------------------------------
  2. //
  3. //    Copyright © 1992 David Peterson.
  4. //    All rights reserved.
  5. //
  6. //    Permission to use, copy, modify, and distribute this software for
  7. //    any purpose and without fee is hereby granted, provided that the
  8. //    above copyright notice appear in all copies and that both that
  9. //    copyright notice and this permission notice appear in supporting
  10. //    documentation.
  11. //
  12. //---------------------------------------------------------------------
  13.  
  14. #include "types.r"
  15.  
  16. resource 'SIZE' (-1) {
  17.     reserved,
  18.     acceptSuspendResumeEvents,
  19.     reserved,
  20.     canBackground,
  21.     notMultiFinderAware,
  22.     onlyBackground,
  23.     dontGetFrontClicks,
  24.     acceptChildDiedEvents,
  25.     not32BitCompatible,
  26.     isHighLevelEventAware,
  27.     localAndRemoteHLEvents,
  28.     notStationeryAware,
  29.     dontUseTextEditServices,
  30.     reserved,
  31.     reserved,
  32.     reserved,
  33.     100 * 1024,
  34.     100 * 1024
  35. };
  36.  
  37. // This is the size of the buffer given to MacTCP. 
  38. // Its allocated in the system heap.
  39. data 'BUFF' (128) {
  40.     $"0000 4000"        // 16k
  41. };
  42.  
  43. include "inetd.rsrc" NOT 'ckid';
  44.  
  45. include $$Shell("SourceDir")"inetd:Version.rsrc" NOT 'ckid';
  46.